
const http = require("http")
const port = 5555
const hostname = "0.0.0.0"

const server = http.createServer((req, res) => {
    console.log(req.url);
    res.writeHead(200, { 'content-Type': 'text/html;charset=utf8' })

    res.write("<h2>hello world</h2>")
    res.write("<P>99999999999</P>")

    res.end()

}).listen(port, hostname, () => {
    console.log("server is running  at " + port);
})